//
//  LJImageView.swift
//  LJWeibo
//
//  Created by Raymond on 16/1/5.
//  Copyright © 2016年 liu. All rights reserved.
//

import UIKit

import FLAnimatedImage
// 要使用第三方框架的类才能设置动图
class LJImageView: FLAnimatedImageView {
    override var transform: CGAffineTransform {
        didSet {
            // 当缩放小于最小的缩放比例时不缩小
            if transform.a < ImageViewMinimumZoomScale {
                transform = CGAffineTransformMakeScale(ImageViewMinimumZoomScale, ImageViewMinimumZoomScale)
            }
        }
    }
}
